CodeContentDescription.fromJson constructor

CodeContentDescription.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CodeContentDescription.fromJson(Map<String, dynamic> json) {
  return CodeContentDescription(
    codeMD5: json['CodeMD5'] as String?,
    codeSize: json['CodeSize'] as int?,
    s3ApplicationCodeLocationDescription:
        json['S3ApplicationCodeLocationDescription'] != null
            ? S3ApplicationCodeLocationDescription.fromJson(
                json['S3ApplicationCodeLocationDescription']
                    as Map<String, dynamic>)
            : null,
    textContent: json['TextContent'] as String?,
  );
}