ContainerUlimit.fromJson constructor

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

Deserialises from Docker's JSON representation.

Implementation

factory ContainerUlimit.fromJson(Map<String, dynamic> json) =>
    ContainerUlimit(
      name: json['Name'] as String?,
      soft: json['Soft'] as int?,
      hard: json['Hard'] as int?,
    );