AssignmentSubmission.fromJson constructor

AssignmentSubmission.fromJson(
  1. Map json_
)

Implementation

AssignmentSubmission.fromJson(core.Map json_)
    : this(
        attachments: json_.containsKey('attachments')
            ? (json_['attachments'] as core.List)
                .map((value) => Attachment.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );