$Shared10.fromJson constructor

$Shared10.fromJson(
  1. Map json_
)

Implementation

$Shared10.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,
      );