compile method

  1. @override
AudioInfo compile()
override

Apply all defined properties in ImmutableBuffer into Immutable object T.

All primitive data type should be parsed to T's constructor directly and Iterable related field must be assigned with deep copied value (e.g. List.of).

Implementation

@override
AudioInfo compile() {
  return AudioInfo(secureUrl: secureUrl, type: type, url: url);
}