$Shared08.fromJson constructor

$Shared08.fromJson(
  1. Map json_
)

Implementation

$Shared08.fromJson(core.Map json_)
    : this(
        magnitude: json_.containsKey('magnitude')
            ? (json_['magnitude'] as core.num).toDouble()
            : null,
        score: json_.containsKey('score')
            ? (json_['score'] as core.num).toDouble()
            : null,
      );