ContainerGraphDriver.fromJson constructor

ContainerGraphDriver.fromJson(
  1. Map<String, dynamic> json
)

Deserialises from Docker's JSON representation.

Implementation

factory ContainerGraphDriver.fromJson(Map<String, dynamic> json) =>
    ContainerGraphDriver(
      name: json['Name'] as String?,
      data: (json['Data'] as Map<String, dynamic>?)?.cast<String, String>(),
    );