fromJson static method

Ready fromJson(
  1. dynamic value
)

Returns a new Ready instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static Ready fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return Ready(
    status: ReadyStatusEnum.fromJson(json[r'status']),
    started: mapDateTime(json, r'started', ''),
    up: mapValueOfType<String>(json, r'up'),
  );
}