TfLiteModel.fromJson constructor

TfLiteModel.fromJson(
  1. Map _json
)

Implementation

TfLiteModel.fromJson(core.Map _json)
    : this(
        automlModel: _json.containsKey('automlModel')
            ? _json['automlModel'] as core.String
            : null,
        gcsTfliteUri: _json.containsKey('gcsTfliteUri')
            ? _json['gcsTfliteUri'] as core.String
            : null,
        sizeBytes: _json.containsKey('sizeBytes')
            ? _json['sizeBytes'] as core.String
            : null,
      );