Fleet.fromJson constructor

Fleet.fromJson(
  1. Map json_
)

Implementation

Fleet.fromJson(core.Map json_)
    : this(
        membership: json_.containsKey('membership')
            ? json_['membership'] as core.String
            : null,
        preRegistered: json_.containsKey('preRegistered')
            ? json_['preRegistered'] as core.bool
            : null,
        project: json_.containsKey('project')
            ? json_['project'] as core.String
            : null,
      );