EntityMentionRelationship.fromJson constructor

EntityMentionRelationship.fromJson(
  1. Map json_
)

Implementation

EntityMentionRelationship.fromJson(core.Map json_)
    : this(
        confidence: json_.containsKey('confidence')
            ? (json_['confidence'] as core.num).toDouble()
            : null,
        objectId: json_.containsKey('objectId')
            ? json_['objectId'] as core.String
            : null,
        subjectId: json_.containsKey('subjectId')
            ? json_['subjectId'] as core.String
            : null,
      );