RotatingBarcodeValues.fromJson constructor

RotatingBarcodeValues.fromJson(
  1. Map json_
)

Implementation

RotatingBarcodeValues.fromJson(core.Map json_)
    : this(
        periodMillis: json_.containsKey('periodMillis')
            ? json_['periodMillis'] as core.String
            : null,
        startDateTime: json_.containsKey('startDateTime')
            ? json_['startDateTime'] as core.String
            : null,
        values: json_.containsKey('values')
            ? (json_['values'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );