ResourceInfo.fromJson constructor

ResourceInfo.fromJson(
  1. Map _json
)

Implementation

ResourceInfo.fromJson(core.Map _json)
    : this(
        documentId: _json.containsKey('documentId')
            ? _json['documentId'] as core.String
            : null,
        resourceTitle: _json.containsKey('resourceTitle')
            ? _json['resourceTitle'] as core.String
            : null,
      );