ContainerFile.fromJson constructor

ContainerFile.fromJson(
  1. Map<String, dynamic> j
)

Implementation

factory ContainerFile.fromJson(Map<String, dynamic> j) => ContainerFile(
      id: j['id'] as String,
      object: j['object'] as String,
      createdAt: (j['created_at'] as num).toInt(),
      bytes: (j['bytes'] as num).toInt(),
      containerId: j['container_id'] as String,
      path: j['path'] as String,
      source: j['source'] as String,
    );